<%--
  Created by IntelliJ IDEA.
  User: apple
  Date: 2019/7/8
  Time: 11:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    String path = request.getContextPath();
%>

    <div id="title">
        <h1>我的问题列表</h1>
        <label></label>
    </div>
    <datalist>
        <table width="684px" border="0" cellspacing="15" cellpadding="0">
            <tr>
                <th>问题</th>
                <th>发布时间</th>
                <th>答复数</th>
            </tr>
            <c:forEach items="${requestScope.pageInfo.list}" var="question" varStatus="stat">
            <tr>
                <td><a href="<%=path%>/web/question/show?questionId=${question.id}">${question.title}</a></td>
                <td>${question.inputTime}</td>
                <td>${question.answerCount}</td>
                <td></td>
            </tr>
            </c:forEach>
        </table>
    </datalist>
    <div class="pagination ">
        <c:forEach items="${requestScope.pageInfo.navigatepageNums}" var="i">
            <a href="javascript:void(0)" class="number current">${i}</a>
        </c:forEach>
    </div>


